import Vue from 'vue'
import App from './App.vue'
import router from './router'//引入路由
import "@/mobile/flexible" // 适配
import "@/styles/reset.css" // 初始化样式

import axios from './utils/request'//引入axios
Vue.prototype.$axios=axios

// 推荐歌单 测试请求数据
// import {recommendMusicAPI}from '@/api/index'
// async function myFN(){
//   const res=await recommendMusicAPI({limit:10})
//   console.log(res);
// }
// myFN()


import { Tabbar, TabbarItem ,NavBar, Col, Row, Image as VanImage,Cell,CellGroup,Icon ,Search} from 'vant';
Vue.use(Col);
Vue.use(Row);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar);
Vue.use(VanImage);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Icon);
Vue.use(Search)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
